package yelmor.comm100.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by yel on 2016/5/11.
 */

@Entity
@Table(name = "coUserCustomMessage")
public class CoUserCustomMessage {

  @Id
  private long messageId;

  public void setMessageId(long messageId) {
    this.messageId = messageId;
  }

  public long getMessageId() {
    return messageId;
  }

  private String customName;

  public void setCustomName(String customName) {
    this.customName = customName;
  }

  public String getCustomName() {
    return customName;
  }

  private String customNick;

  public void setCustomNick(String customNick) {
    this.customNick = customNick;
  }

  public String getCustomNick() {
    return customNick;
  }

  private String customEmail;

  public void setCustomEmail(String customEmail) {
    this.customEmail = customEmail;
  }

  public String getCustomEmail() {
    return customEmail;
  }
  private String customPhone;
  public void setCustomPhone(String customPhone) {
    this.customPhone = customPhone;
  }

  public String getCustomPhone() {
    return customPhone;
  }
  private String customMessage;
  public void setCustomMessage(String customMessage) {
    this.customMessage = customMessage;
  }

  public String getCustomMessage() {
    return customMessage;
  }

  public CoUserCustomMessage(){};

  public CoUserCustomMessage(String customName,
                             String customNick,
                             String customEmail,
                             String customPhone,
                             String customMessage) {
    setCustomName(customName);
    setCustomNick(customNick);
    setCustomEmail(customEmail);
    setCustomPhone(customPhone);
    setCustomMessage(customMessage);
  }
}
